//
//  Person.h
//  OC3_继承
//
//  Created by dllo on 15/10/26.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject

{

    NSString *_name;
    NSString *_sex;
    NSInteger _age;
    
}

- (NSString *)name;

- (void)setName:(NSString *)name;

- (NSString *)sex;

- (void)setSex:(NSString *)sex;

- (NSInteger)age;

- (void)setAge:(NSInteger)age;

- (id)initWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;

- (void)info;

+ (id)personWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;





@end
